package com.rui.patterns.builder.demo1;

/**
 * @author : [锐神NO.3]
 * @version : [v1.0]
 * @className : Builder
 * @createTime : [2022/2/21 14:00]
 * @description : [构建者]
 */

public abstract class Builder {

    /**
     * 声明Bike类型的变量，并进行赋值
     */
    protected Bike bike = new Bike();

    public abstract void buildFrame();

    public abstract void buildSeat();

    /**
     * 构建自信车的方法
     */
    public abstract Bike createBike();
}
